package org.grow.auth.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.grow.auth.domain.Menu;

import java.util.List;

/**
* @author xieweig
* @description 针对表【Menu】的数据库操作Mapper
* @createDate 2023-09-22 10:45:25
* @Entity org.grow.auth.domain.Menu
*/
@Mapper
public interface MenuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> findAll();

    List<Menu> findInMenuIds(@Param("ids")String[] menuArray);
}
